package com.five.years.common.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PhoneUtils {

	private static final Logger logger = LoggerFactory.getLogger(PhoneUtils.class);
	
	public static String subPhone(String phone) {
		if (StringUtils.isBlank(phone)) {
			return phone;
		}
		try {
			return phone.substring(5);
		} catch (Exception e) {
			logger.error(e.getMessage());
			return phone;
		}
	}

}
